﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ledinghuo.website
{
    public class WebConfig
    {
        public static string SourceSite
        {
            get
            {
                if (string.IsNullOrEmpty(ConfigurationManager.AppSettings["SourceSite"]))
                {
                    throw new WebException("配置SourceSite");
                }
                return ConfigurationManager.AppSettings["SourceSite"];
            }
        }
    }
}
